package burubaka.bean;

import java.io.Serializable;

import com.google.appengine.api.datastore.Text;

public class HandicappingBean implements Serializable {

	private static final long serialVersionUID = 1L;

	private String nickName = "";
	private int horseNo1 = 0;
	private int horseNo2 = 0;
	private int horseNo3 = 0;
	private int horseNo4 = 0;
	private int horseNo5 = 0;
	private int horseNo6 = 0;
	private String horseName1;
	private String horseName2;
	private String horseName3;
	private String horseName4;
	private String horseName5;
	private String horseName6;
	private String raceDate = null;
	private String raceName = "";
	private long wager = 0;// 賭け金
	private long withdrawal = 0;// 回収
	private double withdrawalRate = 0;// 回収率
	private Text comment = new Text("");
	private String order;// 順位
	private int hitFlag = 0;

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public int getHorseNo1() {
		return horseNo1;
	}

	public void setHorseNo1(int horseNo1) {
		this.horseNo1 = horseNo1;
	}

	public int getHorseNo2() {
		return horseNo2;
	}

	public void setHorseNo2(int horseNo2) {
		this.horseNo2 = horseNo2;
	}

	public int getHorseNo3() {
		return horseNo3;
	}

	public void setHorseNo3(int horseNo3) {
		this.horseNo3 = horseNo3;
	}

	public int getHorseNo4() {
		return horseNo4;
	}

	public void setHorseNo4(int horseNo4) {
		this.horseNo4 = horseNo4;
	}

	public int getHorseNo5() {
		return horseNo5;
	}

	public void setHorseNo5(int horseNo5) {
		this.horseNo5 = horseNo5;
	}

	public int getHorseNo6() {
		return horseNo6;
	}

	public void setHorseNo6(int horseNo6) {
		this.horseNo6 = horseNo6;
	}

	public String getHorseName1() {
		return horseName1;
	}

	public void setHorseName1(String horseName1) {
		this.horseName1 = horseName1;
	}

	public String getHorseName2() {
		return horseName2;
	}

	public void setHorseName2(String horseName2) {
		this.horseName2 = horseName2;
	}

	public String getHorseName3() {
		return horseName3;
	}

	public void setHorseName3(String horseName3) {
		this.horseName3 = horseName3;
	}

	public String getHorseName4() {
		return horseName4;
	}

	public void setHorseName4(String horseName4) {
		this.horseName4 = horseName4;
	}

	public String getHorseName5() {
		return horseName5;
	}

	public void setHorseName5(String horseName5) {
		this.horseName5 = horseName5;
	}

	public String getHorseName6() {
		return horseName6;
	}

	public void setHorseName6(String horseName6) {
		this.horseName6 = horseName6;
	}

	public String getRaceDate() {
		return raceDate;
	}

	public void setRaceDate(String raceDate) {
		this.raceDate = raceDate;
	}

	public String getRaceName() {
		return raceName;
	}

	public void setRaceName(String raceName) {
		this.raceName = raceName;
	}

	public long getWager() {
		return wager;
	}

	public void setWager(long wager) {
		this.wager = wager;
	}

	public long getWithdrawal() {
		return withdrawal;
	}

	public void setWithdrawal(long withdrawal) {
		this.withdrawal = withdrawal;
	}

	public double getWithdrawalRate() {
		return withdrawalRate;
	}

	public void setWithdrawalRate(double withdrawalRate) {
		this.withdrawalRate = withdrawalRate;
	}

	public Text getComment() {
		return comment;
	}

	public void setComment(Text comment) {
		this.comment = comment;
	}

	public String getCommentStr() {
		return comment.getValue();
	}

	public void setCommentStr(String commentStr) {
		this.comment = new Text(commentStr);
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public int getHitFlag() {
		return hitFlag;
	}

	public void setHitFlag(int hitFlag) {
		this.hitFlag = hitFlag;
	}

}
